package com.wondertek.service.dto.business.res;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author wangyu
 */
@Data
public class DeviceErrorRecordExportRes {


    /*
     * 报警类型
     * */
    @Schema(name = "errorType",description = "报警类型")
    @ExcelProperty(value = "Description", order = 1)
    private String errorType;

    @Schema(name = "accessoryType",description = "1-烟感，2-无线键盘，3-室外信号，4-门磁，5-升级门磁，6-pir相机，7-智能监控相机，8-Alarm KIT")
    @ExcelProperty(value = "Accessory type", order = 2)
    private String accessoryType;

    @Schema(name = "accessorySn",description = "配件sn")
    @ExcelProperty(value = "Accessory SN", order = 3)
    private String accessorySn;

    /**
     * 分区名称
     */
    @Schema(name = "roomName",description = "分区名称")
    @ExcelProperty(value = "scene", order = 4)
    private String roomName;

    /*
     *设备类型
     * */
    @Schema(name = "deviceType",description = "1-ipc,2-网关,3-其他,99配件")
    @ExcelProperty(value = "Device Type", order = 5)
    private String deviceType;

    /*
     *设备id
     * */
    @Schema(name = "deviceId",description = "设备id")
    @ExcelProperty(value = "Device SN", order = 6)
    private String deviceId;

    /**
     * 点位名称
     */
    @Schema(name = "siteName",description = "点位名称")
    @ExcelProperty(value = "Site", order = 7)
    private String siteName;

    @Schema(name = "type",description = "1:报警  2:故障 3:事件 4:通知")
    @ExcelProperty(value = "type", order = 8)
    private String type;

    /*
     * 报警时间
     * */
    @Schema(name = "errorTime",description = "报警时间")
    @ExcelProperty(value = "Downtime", order = 9)
    private Date errorTime;

    @Schema(name = "isRead",description = "是否已读 0：未读 1：已读")
    @ExcelProperty(value = "State", order = 10)
    private String isRead;

}
